package com.yq.light.commons.code.entity;


public class User {

  private long id;
  private long userId;
  private String nickName;
  private String userAccount;
  private String userPwd;
  private long sex;
  private long userType;
  private long userPower;
  private String userPhone;
  private String email;
  private java.sql.Timestamp registerTime;
  private java.sql.Timestamp useTime;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public String getNickName() {
    return nickName;
  }

  public void setNickName(String nickName) {
    this.nickName = nickName;
  }


  public String getUserAccount() {
    return userAccount;
  }

  public void setUserAccount(String userAccount) {
    this.userAccount = userAccount;
  }


  public String getUserPwd() {
    return userPwd;
  }

  public void setUserPwd(String userPwd) {
    this.userPwd = userPwd;
  }


  public long getSex() {
    return sex;
  }

  public void setSex(long sex) {
    this.sex = sex;
  }


  public long getUserType() {
    return userType;
  }

  public void setUserType(long userType) {
    this.userType = userType;
  }


  public long getUserPower() {
    return userPower;
  }

  public void setUserPower(long userPower) {
    this.userPower = userPower;
  }


  public String getUserPhone() {
    return userPhone;
  }

  public void setUserPhone(String userPhone) {
    this.userPhone = userPhone;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public java.sql.Timestamp getRegisterTime() {
    return registerTime;
  }

  public void setRegisterTime(java.sql.Timestamp registerTime) {
    this.registerTime = registerTime;
  }


  public java.sql.Timestamp getUseTime() {
    return useTime;
  }

  public void setUseTime(java.sql.Timestamp useTime) {
    this.useTime = useTime;
  }

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", userId=" + userId +
            ", nickName='" + nickName + '\'' +
            ", userAccount='" + userAccount + '\'' +
            ", userPwd='" + userPwd + '\'' +
            ", sex=" + sex +
            ", userType=" + userType +
            ", userPower=" + userPower +
            ", userPhone='" + userPhone + '\'' +
            ", email='" + email + '\'' +
            ", registerTime=" + registerTime +
            ", useTime=" + useTime +
            '}';
  }


}
